<%--
  Created by IntelliJ IDEA.
  User: EZTTU
  Date: 2022/4/24
  Time: 17:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>增加书籍信息</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>


<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>书籍添加</small>
                </h1>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4 column">
                <a class="btn btn-primary" href="${pageContext.request.contextPath}/book/query">回到主页面</a>
            </div>
        </div>
        <br>
        <form action="${pageContext.request.contextPath}/book/addBook" method="post">
            <div class="form-group">
                <label for="bookName">书籍名称：</label>
                <input type="text" class="form-control" id="bookName" name="bookName" placeholder="名称" required>
            </div>
            <div class="form-group">
                <label for="author">书籍作者：</label>
                <input type="text" class="form-control" id="author" name="author" placeholder="图书作者" required>
            </div>
            <div class="form-group">
                <label for="bookCounts">书籍库存：</label>
                <input type="text" class="form-control" id="bookCounts" name="bookCounts" placeholder="库存" required>
            </div>
            <div class="form-group">
                <label for="detail">书籍描述：</label>
                <input type="text" class="form-control" id="detail" name="detail" placeholder="图书细节" required>
            </div>
            <div class="form-group">
                <label for="detail">书籍类型：</label>
                <input type="text" class="form-control" id="bookType" name="bookType" placeholder="图书类型" required>
            </div>
            <div class="form-group">
                <label for="detail">每日价格：</label>
                <input type="text" class="form-control" id="price" name="price" placeholder="图书单价" required>
            </div>
            <button type="submit" class="btn btn-info btn-lg btn-block">添 加</button>
        </form>

    </div>


</div>

</body>
</html>
